CXXFLAGS=-std=c++11 -Wall -Wextra -g -O2
LDFLAGS=
EXTRAFLAGS=-masm=intel

BIG_UINT_FILES = big_uint_x86_64.h \
                 big_uint_ops.h \
                 big_uint_static.h \
                 big_uint.h

all: example

example: example.cpp $(BIG_UINT_FILES)
	g++ $(CXXFLAGS) $(EXTRAFLAGS) $(LDFLAGS) -o $@ $<

clean:
	rm -f example

.PHONY: clean
